package com.youlu.myapplication.scratch;

import java.util.List;

/**
 * @author sym
 */
public class CoordinatePoint {

    /**
     * x 轴坐标点
     */
    private float[] mCoordinateX;
    /**
     * y 轴坐标点
     */
    private float[] mCoordinateY;

    public float[] getCoordinateX() {
        return this.mCoordinateX;
    }

    public float[] getCoordinateY() {
        return this.mCoordinateY;
    }

    public void saveCoordinateX(List<Float> list) {
        mCoordinateX = new float[list.size()];
        for (int i = 0; i < list.size(); i++) {
            mCoordinateX[i] = list.get(i);
        }
    }

    public void saveCoordinateY(List<Float> list) {
        mCoordinateY = new float[list.size()];
        for (int i = 0; i < list.size(); i++) {
            mCoordinateY[i] = list.get(i);
        }
    }
}